package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the kq_business database table.
 * 
 */
@Entity
@Table(name="kq_business")
@NamedQuery(name="KqBusiness.findAll", query="SELECT k FROM KqBusiness k")
public class KqBusiness implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="bus_id")
	private int busId;

	@Column(name="bus_bou")
	private String busBou;

	@Column(name="bus_chu")
	private int busChu;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="bus_date")
	private Date busDate;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="bus_sdate")
	private Date busSdate;

	@Temporal(TemporalType.DATE)
	@Column(name="bus_jie")
	private Date busJie;

	@Temporal(TemporalType.DATE)
	@Column(name="bus_kai")
	private Date busKai;

	@Column(name="bus_nowhy")
	private String busNowhy;

	@Column(name="bus_shen")
	private int busShen;

	@Column(name="bus_sheng")
	private String busSheng;

	@Column(name="bus_shi")
	private String busShi;

	@Column(name="bus_time")
	private int busTime;

	@Column(name="bus_why")
	private String busWhy;

	@Column(name="bus_xshen")
	private String busXshen;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="staff_id")
	private Staff staff;

	public KqBusiness() {
	}

	public int getBusId() {
		return this.busId;
	}

	public void setBusId(int busId) {
		this.busId = busId;
	}

	public String getBusBou() {
		return this.busBou;
	}

	public void setBusBou(String busBou) {
		this.busBou = busBou;
	}

	public int getBusChu() {
		return this.busChu;
	}

	public void setBusChu(int busChu) {
		this.busChu = busChu;
	}

	public Date getBusDate() {
		return this.busDate;
	}

	public void setBusDate(Date busDate) {
		this.busDate = busDate;
	}

	public Date getBusJie() {
		return this.busJie;
	}

	public void setBusJie(Date busJie) {
		this.busJie = busJie;
	}

	public Date getBusKai() {
		return this.busKai;
	}

	public void setBusKai(Date busKai) {
		this.busKai = busKai;
	}

	public String getBusNowhy() {
		return this.busNowhy;
	}

	public void setBusNowhy(String busNowhy) {
		this.busNowhy = busNowhy;
	}

	public int getBusShen() {
		return this.busShen;
	}

	public void setBusShen(int busShen) {
		this.busShen = busShen;
	}

	public String getBusSheng() {
		return this.busSheng;
	}

	public void setBusSheng(String busSheng) {
		this.busSheng = busSheng;
	}

	public String getBusShi() {
		return this.busShi;
	}

	public void setBusShi(String busShi) {
		this.busShi = busShi;
	}

	public int getBusTime() {
		return this.busTime;
	}

	public void setBusTime(int busTime) {
		this.busTime = busTime;
	}

	public String getBusWhy() {
		return this.busWhy;
	}

	public void setBusWhy(String busWhy) {
		this.busWhy = busWhy;
	}

	public String getBusXshen() {
		return this.busXshen;
	}

	public void setBusXshen(String busXshen) {
		this.busXshen = busXshen;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Date getBusSdate() {
		return busSdate;
	}

	public void setBusSdate(Date busSdate) {
		this.busSdate = busSdate;
	}

}